package com.csc.service;

import java.util.List;

import com.csc.bean.RequestResetPassBean;
import com.csc.bean.SystemAccountBean;
import com.csc.domain.SystemAccount;
import com.csc.domain.TransactionHistory;

public interface SystemRequestService {
	// Truong Le Bao
	public boolean requestResetPassword(String username, String reason);

	// Truong Le Bao
	public boolean processRequestResetPassword(String requestID, 
			String userImpact, String userAffect, int status, String path);

	// Truong Le bao
	public boolean processRequestUpdateProfile(SystemAccountBean acc,
			String userImpact);

	// Truong Le bao
	public List<SystemAccountBean> parseToUserProfiles(
			List<SystemAccount> listAll);

	// Truong Le bao
	public List<RequestResetPassBean> parseToRequestDetail(
			List<TransactionHistory> listTransactionReset);

	// Truong Le bao
	public List<RequestResetPassBean> getNewRequests();

	// Truong Le bao
	public TransactionHistory getTransactionByID(int ID);

	// Truong le Bao
	public List<TransactionHistory> searchAdvanceNewRequests(String fullname,
			String username, String role, String from, String to);
	
	// Truong le Bao
	public boolean isAccountStatusRequestAvailable(String username);
}
